#pragma once
#ifndef _CMPMATCOMMON_
#define _CMPMATCOMMON_

#if defined(BOOST_DYN_LINK)
#  undef BOOST_DYN_LINK
#endif

#ifdef WIN32
//#define DLLEXPORT __declspec( dllexport )
#else
#define DLLEXPORT  
#endif

namespace cmpMat
{
    typedef size_t CmpMatPtr;

    // template for creating clones of clonable types into auto_ptrs
    template <template<typename> class _smrt_ptr_type, typename _T>
    _smrt_ptr_type<_T> clone(_T const* t)
    { return t->clone(); }
}

#endif _CMPMATCOMMON_